package top.healthylife.gateway.platform.br.dto.basicdata.consumptionc.res;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import top.healthylife.gateway.dto.annotation.ApiField;

/**
 * @author : 高则喜
 * @Date 2020/12/25 10:42
 */
@Data
@Accessors(chain = true)
@ApiModel("ConsumptionC")
public class ConsumptionC {

    @ApiField(value = "过去3/6/12个月内持续消费等级" , info = "取值“M1”：在三个时间段的总消费次数m12=m6=m3>0；取值“M2”：在三个时间段的总消费次数m12>m6且m6=m3且m3>0;取值“M3”：在三个时间段的总消费次数m6>m3>0且m12=m6；取值“M4”：在三个时间段的总消费次数m12>m6>m3>0；取值“M5”：在三个时间段的总消费次数m12=m6=m3=0" )
    @ApiModelProperty(value="过去3/6/12个月内持续消费等级",example="取值“M1”：在三个时间段的总消费次数m12=m6=m3>0；取值“M2”：在三个时间段的总消费次数m12>m6且m6=m3且m3>0;取值“M3”：在三个时间段的总消费次数m6>m3>0且m12=m6；取值“M4”：在三个时间段的总消费次数m12>m6>m3>0；取值“M5”：在三个时间段的总消费次数m12=m6=m3=0" )
    @JsonProperty("continue")
    private String consCont;

    @ApiField(value = "最近一次消费距离现在的时间" , info = "取值\"T1\":3个月内；\"T2\":3到6个月之间；\"T3\":6到12月之间；\"T4\":12个月以外" )
    @ApiModelProperty(value="最近一次消费距离现在的时间",example="取值\"T1\":3个月内；\"T2\":3到6个月之间；\"T3\":6到12月之间；\"T4\":12个月以外" )
    private String timeRecent;

    @ApiField(value = "" , info = "" )
    @ApiModelProperty(value="",example="" )
    private Total total;

    @ApiField(value = "" , info = "" )
    @ApiModelProperty(value="",example="" )
    private Max max;

    @ApiField(value = "近三个月分类信息统计" , info = "" )
    @ApiModelProperty(value="",example="" )
    private CategoryInfo mouth3;

    @ApiField(value = "近12个月分类信息统计" , info = "" )
    @ApiModelProperty(value="",example="" )
    private CategoryInfo mouth12;
}
